package fnic.jsontrans.interfacer;

import java.util.ArrayList;

public class PhoneSearch2Phone {
	ArrayList<Double> netQuality = new ArrayList<Double>();
	ArrayList<Double> callQuality = new ArrayList<Double>();
	double beatProportion;
	double avgDelayTime;
	double lostRate;
	
	public PhoneSearch2Phone(){}
	
	public void addNetRate(double netRateItem){
		netQuality.add(netRateItem);
	}
	
	public void addCallRate(double callRateItem){
		callQuality.add(callRateItem);
	}
	
	//Set方法
	public void setNetJudgeRate(ArrayList<Double> net){
		netQuality = net;
	}

	public void setCallJudgeRate(ArrayList<Double> call){
		callQuality = call;
	}
	
	public void setBeatover(double over){
		beatProportion = over;
	}
	
	public void setLostRate(double lost){
		lostRate = lost;
	}
	public void setGlobalAvgPingDelay(double avg){
		avgDelayTime = avg;
	}

	public ArrayList<Double> getNetQuality() {
		return netQuality;
	}

	public void setNetQuality(ArrayList<Double> netQuality) {
		this.netQuality = netQuality;
	}

	public ArrayList<Double> getCallQuality() {
		return callQuality;
	}

	public void setCallQuality(ArrayList<Double> callQuality) {
		this.callQuality = callQuality;
	}

	public double getBeatProportion() {
		return beatProportion;
	}

	public void setBeatProportion(double beatProportion) {
		this.beatProportion = beatProportion;
	}

	public double getAvgDelayTime() {
		return avgDelayTime;
	}

	public void setAvgDelayTime(double avgDelaytime) {
		this.avgDelayTime = avgDelaytime;
	}

	public double getLostRate() {
		return lostRate;
	}
	
//	//get方法
//	public ArrayList<Double> getNetJudgeRate(){
//		return netQuality;
//	}
//	
//	public ArrayList<Double> getCallJudgeRate(){
//		return callQuality;
//	}
//	
//	public double getBeatover(){
//		return beatProportion;
//	}
//	
//	public double getLostRate(){
//		return lostRate;
//	}
//	
//	public double getGlobalAvgPingDelay(){
//		return avgDelaytime;
//	}
}
